﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class CodeCreater
{

    public static void CreateClientBaseCode(string clientLan, string outputPath)
    {
        switch (clientLan)
        {
            case "c#":
                CsharpClientCodeCreater.CreateBaseCode(outputPath);
                break;
            case "c++":

            default:
                break;
        }
    }

    public static void CreateClientCode(ExcelFile file,string clientLan, string outputPath)
    {
        switch (clientLan)
        {
            case "c#":
                CsharpClientCodeCreater.CreateCode(file, outputPath);
                break;
            case "c++":
                break;
            default:
                break;
        }
    }

    public static void CreateServerBaseCode(string serverLan, string outputPath)
    {
        switch (serverLan)
        {
            case "c#":
                CsharpServerCodeCreater.CreateBaseCode(outputPath);
                break;
            case "c++":
                break;
            default:
                break;
        }
    }

    public static void CreateServerCode(ExcelFile file, string serverLan, string outputPath)
    {
        switch (serverLan)
        {
            case "c#":
                CsharpServerCodeCreater.CreateCode(file,outputPath);
                break;
            case "c++":
                break;
            default:
                break;
        }
    }



}
